/**
 * 
 */
package guicemodules;

import metagrammar.Operator;
import metagrammar.OperatorDescription;

import archivemanagement.ArchiveManager;
import archivemanagement.OperatorDescriptionArchive;
import archivemanagement.OperatorDescriptionManager;
import archivemanagement.ZippedArchive;

import com.google.inject.AbstractModule;
import com.google.inject.TypeLiteral;

/**
 * @author Joshua Lockerman
 *
 */
public class OperatorDescriptionArchiveModule extends AbstractModule {
    
    /* (non-Javadoc)
     * @see com.google.inject.AbstractModule#configure()
     */
    @Override
    protected void configure()
    {
        bind(new TypeLiteral<ArchiveManager<Operator, OperatorDescription>>() {}).to(
                OperatorDescriptionManager.class);
        bind(OperatorDescriptionArchive.class).to(ZippedArchive.class);
    }
    
}
